<script >
export default {
    data() {
        return {

        }
    }, methods: {
        div() {
            console.log('div');
        },
        btn() {
            console.log('btn');
        },
    }
}
</script>

<template>
    <div>
        <div @click.capture="div">
            <input type="button" value="点击(capture)" @click="btn">
        </div>
    </div>
    <div>
        <div @click="div">
            <input type="button" value="点击" @click="btn">
        </div>
    </div>
</template>

<style scoped></style>
